import request from './request'

export default {
  // 获取PC余额
  getPcBalance: (address) =>
    request.get(
      `/remote1/cosmos/bank/v1beta1/balances/${address}/by_denom?denom=uplugcn`
    ),

  // 获取兑换明细
  getOrderList: (params = {}) =>
    request.get(`/remote2/game/order/userOrderList`, params),

  // 增加兑换明细
  addOrder: (params = {}) =>
    request.post(`/remote2/game/orderSyncQueue/add`, params),
}
